package e.odbo.data.dsl.func;

import e.odbo.data.dsl.ColumnFunction;

public class MIDFunction extends ColumnFunction<String> {
    private int start;
    private int length;


    public MIDFunction(String value,int start) {
        this(value,start,-1);
    }

    public MIDFunction(String value,int start,int length) {
        super("MID", value);
        this.start=start;
        this.length=length;
    }

    public int getStart() {
        return start;
    }

    public int getLength() {
        return length;
    }
}
